<?php 
require_once "db.php";
class DicionarioDB
{
	public function procurarPalavra($trecho, $limit){
		return mysql_query("SELECT palavra FROM `palavra` WHERE palavra like '".trim(stripslashes($trecho))."%' limit ".$limit);
	}
	
}



?>